using Mysolution.Domain.Entities.App;
using Microsoft.EntityFrameworkCore;

namespace Mysolution.Infrastructure.Data;

public class MysolutionDbContext :DbContext
{
    public MysolutionDbContext(DbContextOptions<MysolutionDbContext> options) : base(options){}
    public DbSet<AppUser> AppUser { get; set; }
    public DbSet<AppRole> AppRole { get; set; }
    public DbSet<AppPermission> AppPermission { get; set; }
    public DbSet<AppResource> AppResource { get; set; }
    public DbSet<AppDepartment> AppDepartment { get; set; }
}